
{namespace esn.soy.friendSurveyList}

/**
 *
 */
{template .table}
<table class="esnfriendSurveyListTable">
  <tbody class="body">
    <tr class="header">
      <th style="display: none;"></th>
      <th class="friendNameHeader">Resident's Name</th>
      <th></th>
    </tr>
  </tbody>
</table>
{/template}


/**
 * @param Friend A esn.model.StudentModel object.
 */
{template .row}
<tr class="esnfriendSurveyListRow">
  <td style="display: none;">
    {if $Friend['fb_id']}
      <img src="https://graph.facebook.com/{$Friend['fb_id']}/picture" width="35" height="35">
    {else}
      <img src="/static/images/default-friend-photo.gif" width="45" height="45">
    {/if}
  </td>
  <td class="friendNameContainer">
    <div class="friendName">{$Friend['first_name']} {$Friend['last_name']}</div>
  </td>
  <td class="removeButton"></td>
</tr>
{/template}
